---
--- Created by Administrator.
--- DateTime: 2025/2/19 23:24
---
TUNING.JIANMU_BUFF = {
    i26_nuanlu = TUNING.JIANMU_CONFIG.I26_NUANLU_ENABLED,
    i26_fangshui = TUNING.JIANMU_CONFIG.I26_FANGSHUI_ENABLED,
    i26_hanbing = TUNING.JIANMU_CONFIG.I26_HANBING_ENABLED,
    i26_zhiwu1 = TUNING.JIANMU_CONFIG.I26_ZHIWU1_ENABLED,
    i26_zhiwu2 = (TUNING.JIANMU_CONFIG.I26_ZHIWU2_ENABLED and TUNING.JIANMU_CONFIG.I26_ZHIWU1_ENABLED),
    i26_fengraoxuanshu = TUNING.JIANMU_CONFIG.I26_FENGRAOXUANSHU_ENABLED,
    i26_restore_san = TUNING.JIANMU_CONFIG.I26_RESTORE_SAN_ENABLED,
    cn = {
        i26_nuanlu = "暖炉特效",
        i26_fangshui = "防水特效",
        i26_hanbing = "寒冰特效",
        i26_zhiwu1 = "植物特效1",
        i26_zhiwu2 = "植物特效2",
        dragon_scales = "龙鳞",
        goose_feather = "麋鹿鹅羽毛",
        deerclops_eyeball = "巨鹿眼球",
        blueamulet = "寒冰护符",
        treegrowthsolution = "树果酱",
        i26_fengraoxuanshu = "丰饶玄术",
        amulet = "重生护符",
        i26_restore_san = "启迪特效",
        yellowamulet = "魔光护符",
    },
    en = {
        i26_nuanlu = "Warmth Effect",
        i26_fangshui = "Water Protection Effect",
        i26_hanbing = "Ice Effect",
        i26_zhiwu1 = "Plant Effect 1",
        i26_zhiwu2 = "Plant Effect 2",
        dragon_scales = "Dragon Scales",
        feather_goose = "Moose/Goose Feather",
        deerclops_eyeball = "Deerclops Eyeball",
        blueamulet = "Ice Amulet",
        treegrowthsolution = "Tree Jam",
        i26_fengraoxuanshu = "Fen Rao Xuan Shu",
        amulet = "Life Giving Amulet",
        i26_restore_san = "Enlightened Buff",
        yellowamulet = "Magiluminescence",
    }
}

TUNING.STRINGS = {
    cn = {
        jianmu_buff_is_active = "已激活",
        jianmu_buff_not_item = "不需要该物品",
        jianmu_buff_not_pre_effect = "未激活前置特效",
    },
    en = {
        jianmu_buff_is_active = "Is Active",
        jianmu_buff_not_item = "No need for this item",
        jianmu_buff_not_pre_effect = "Not active with the prerequisite effect",
    },
}

-- 遍历 entityList 并根据语言设置物品信息
for _, entity in pairs(TUNING.ENTITY_LIST) do
    local lang = TUNING.LANGUAGE
    local name = entity[lang].name
    local description = entity[lang].description
    -- 定义物品名称
    STRINGS.NAMES[string.upper(entity.id)] = name
    -- 定义物品的制造栏描述
    if description then
        STRINGS.RECIPE_DESC[string.upper(entity.id)] = description
        STRINGS.CHARACTERS.GENERIC.DESCRIBE[string.upper(entity.id)] = description
    end
end